/*******************************************************************************/
/*
 * ---------Arrays of data used within cie_thin_cooling_rate_g.c---------
 * 
 * These arrays contain data neccessary for calculating the CIE optically thin
 * cooling rate. The data here is taken from the original Grackle fortran
 * subroutine which calculated the CIE rate -- the comments for which can be
 * found alongside the cie_thin_cooling_rate_function within rate_functions.c
 * 
 */
/*******************************************************************************/
#ifndef __CIE_THIN_COOLING_RATE_TABLES_H__
#define __CIE_THIN_COOLING_RATE_TABLES_H__

//First array.
double t_cie_c[] = {4.000e02,4.040e02,4.080e02,4.121e02,4.162e02, \
          4.204e02,4.246e02,4.289e02,4.331e02,4.375e02,4.418e02, \
          4.463e02,4.507e02,4.552e02,4.598e02,4.644e02,4.690e02, \
          4.737e02,4.785e02,4.832e02,4.881e02,4.930e02,4.979e02, \
          5.029e02,5.079e02,5.130e02,5.181e02,5.233e02,5.285e02, \
          5.338e02,5.391e02,5.445e02,5.500e02,5.555e02,5.610e02, \
          5.666e02,5.723e02,5.780e02,5.838e02,5.896e02,5.955e02, \
          6.015e02,6.075e02,6.136e02,6.197e02,6.259e02,6.322e02, \
          6.385e02,6.449e02,6.513e02,6.579e02,6.644e02,6.711e02, \
          6.778e02,6.846e02,6.914e02,6.983e02,7.053e02,7.124e02, \
          7.195e02,7.267e02,7.339e02,7.413e02,7.487e02,7.562e02, \
          7.637e02,7.714e02,7.791e02,7.869e02,7.948e02,8.027e02, \
          8.107e02,8.188e02,8.270e02,8.353e02,8.437e02,8.521e02, \
          8.606e02,8.692e02,8.779e02,8.867e02,8.956e02,9.045e02, \
          9.136e02,9.227e02,9.319e02,9.412e02,9.506e02,9.602e02, \
          9.698e02,9.795e02,9.892e02,9.991e02,1.009e03,1.019e03, \
          1.029e03,1.040e03,1.050e03,1.061e03,1.071e03,1.082e03, \
          1.093e03,1.104e03,1.115e03,1.126e03,1.137e03,1.148e03, \
          1.160e03,1.172e03,1.183e03,1.195e03,1.207e03,1.219e03, \
          1.231e03,1.244e03,1.256e03,1.269e03,1.281e03,1.294e03, \
          1.307e03,1.320e03,1.333e03,1.347e03,1.360e03,1.374e03, \
          1.387e03,1.401e03,1.415e03,1.430e03,1.444e03,1.458e03, \
          1.473e03,1.488e03,1.502e03,1.517e03,1.533e03,1.548e03, \
          1.563e03,1.579e03,1.595e03,1.611e03,1.627e03,1.643e03, \
          1.660e03,1.676e03,1.693e03,1.710e03,1.727e03,1.744e03, \
          1.762e03,1.779e03,1.797e03,1.815e03,1.833e03,1.852e03, \
          1.870e03,1.889e03,1.908e03,1.927e03,1.946e03,1.966e03, \
          1.985e03,2.005e03,2.025e03,2.045e03,2.066e03,2.086e03, \
          2.107e03,2.128e03,2.150e03,2.171e03,2.193e03,2.215e03, \
          2.237e03,2.259e03,2.282e03,2.305e03,2.328e03,2.351e03, \
          2.375e03,2.398e03,2.422e03,2.447e03,2.471e03,2.496e03, \
          2.521e03,2.546e03,2.571e03,2.597e03,2.623e03,2.649e03, \
          2.676e03,2.702e03,2.730e03,2.757e03,2.784e03,2.812e03, \
          2.840e03,2.869e03,2.897e03,2.926e03,2.956e03,2.985e03, \
          3.015e03,3.045e03,3.076e03,3.106e03,3.138e03,3.169e03, \
          3.201e03,3.233e03,3.265e03,3.298e03,3.331e03,3.364e03, \
          3.397e03,3.431e03,3.466e03,3.500e03,3.535e03,3.571e03, \
          3.606e03,3.643e03,3.679e03,3.716e03,3.753e03,3.790e03, \
          3.828e03,3.867e03,3.905e03,3.944e03,3.984e03,4.024e03, \
          4.064e03,4.105e03,4.146e03,4.187e03,4.229e03,4.271e03, \
          4.314e03,4.357e03,4.401e03,4.445e03,4.489e03,4.534e03, \
          4.579e03,4.625e03,4.671e03,4.718e03,4.765e03,4.813e03, \
          4.861e03,4.910e03,4.959e03,5.008e03,5.058e03,5.109e03, \
          5.160e03,5.212e03,5.264e03,5.316e03,5.370e03,5.423e03, \
          5.477e03,5.532e03,5.588e03,5.643e03,5.700e03,5.757e03, \
          5.814e03,5.873e03,5.931e03,5.991e03,6.051e03,6.111e03, \
          6.172e03,6.234e03,6.296e03,6.359e03,6.423e03,6.487e03, \
          6.552e03,6.617e03,6.684e03,6.750e03,6.818e03,6.886e03, \
          6.955e03};

//Second array.
double cie_table_c[] = {1.435e-15,1.488e-15,1.544e-15,1.601e-15,1.661e-15, \
          1.722e-15,1.786e-15,1.853e-15,1.922e-15,1.993e-15,2.067e-15, \
          2.143e-15,2.223e-15,2.305e-15,2.390e-15,2.479e-15,2.570e-15, \
          2.665e-15,2.763e-15,2.865e-15,2.971e-15,3.080e-15,3.194e-15, \
          3.314e-15,3.440e-15,3.571e-15,3.707e-15,3.848e-15,3.995e-15, \
          4.148e-15,4.307e-15,4.472e-15,4.643e-15,4.822e-15,5.008e-15, \
          5.201e-15,5.402e-15,5.611e-15,5.829e-15,6.056e-15,6.292e-15, \
          6.539e-15,6.800e-15,7.071e-15,7.354e-15,7.648e-15,7.955e-15, \
          8.274e-15,8.607e-15,8.954e-15,9.316e-15,9.692e-15,1.008e-14, \
          1.049e-14,1.092e-14,1.136e-14,1.183e-14,1.235e-14,1.291e-14, \
          1.350e-14,1.412e-14,1.477e-14,1.545e-14,1.617e-14,1.693e-14, \
          1.773e-14,1.857e-14,1.946e-14,2.039e-14,2.137e-14,2.242e-14, \
          2.352e-14,2.469e-14,2.592e-14,2.721e-14,2.857e-14,3.000e-14, \
          3.151e-14,3.310e-14,3.477e-14,3.653e-14,3.838e-14,4.053e-14, \
          4.300e-14,4.561e-14,4.837e-14,5.127e-14,5.434e-14,5.758e-14, \
          6.099e-14,6.458e-14,6.837e-14,7.236e-14,7.687e-14,8.167e-14, \
          8.675e-14,9.210e-14,9.776e-14,1.037e-13,1.100e-13,1.167e-13, \
          1.237e-13,1.310e-13,1.388e-13,1.470e-13,1.556e-13,1.646e-13, \
          1.741e-13,1.841e-13,1.946e-13,2.057e-13,2.172e-13,2.294e-13, \
          2.421e-13,2.554e-13,2.694e-13,2.841e-13,2.994e-13,3.155e-13, \
          3.323e-13,3.498e-13,3.682e-13,3.874e-13,4.074e-13,4.284e-13, \
          4.502e-13,4.730e-13,4.968e-13,5.216e-13,5.475e-13,5.744e-13, \
          6.025e-13,6.318e-13,6.622e-13,6.939e-13,7.268e-13,7.611e-13, \
          7.967e-13,8.337e-13,8.721e-13,9.121e-13,9.535e-13,9.966e-13, \
          1.041e-12,1.088e-12,1.136e-12,1.185e-12,1.237e-12,1.290e-12, \
          1.346e-12,1.403e-12,1.462e-12,1.524e-12,1.587e-12,1.653e-12, \
          1.721e-12,1.791e-12,1.864e-12,1.939e-12,2.016e-12,2.096e-12, \
          2.179e-12,2.268e-12,2.374e-12,2.483e-12,2.597e-12,2.714e-12, \
          2.836e-12,2.961e-12,3.091e-12,3.226e-12,3.365e-12,3.508e-12, \
          3.657e-12,3.810e-12,3.968e-12,4.132e-12,4.300e-12,4.474e-12, \
          4.654e-12,4.839e-12,5.029e-12,5.226e-12,5.428e-12,5.637e-12, \
          5.852e-12,6.073e-12,6.301e-12,6.535e-12,6.776e-12,7.024e-12, \
          7.280e-12,7.542e-12,7.812e-12,8.089e-12,8.374e-12,8.666e-12, \
          8.967e-12,9.276e-12,9.593e-12,9.919e-12,1.025e-11,1.060e-11, \
          1.099e-11,1.145e-11,1.193e-11,1.241e-11,1.292e-11,1.343e-11, \
          1.396e-11,1.451e-11,1.507e-11,1.565e-11,1.624e-11,1.685e-11, \
          1.748e-11,1.813e-11,1.879e-11,1.947e-11,2.017e-11,2.089e-11, \
          2.162e-11,2.238e-11,2.316e-11,2.395e-11,2.477e-11,2.561e-11, \
          2.646e-11,2.734e-11,2.824e-11,2.917e-11,3.011e-11,3.118e-11, \
          3.234e-11,3.353e-11,3.475e-11,3.601e-11,3.729e-11,3.861e-11, \
          3.996e-11,4.135e-11,4.277e-11,4.422e-11,4.571e-11,4.724e-11, \
          4.881e-11,5.041e-11,5.205e-11,5.373e-11,5.545e-11,5.721e-11, \
          5.901e-11,6.085e-11,6.273e-11,6.470e-11,6.692e-11,6.920e-11, \
          7.152e-11,7.391e-11,7.635e-11,7.885e-11,8.141e-11,8.402e-11, \
          8.670e-11,8.944e-11,9.224e-11,9.510e-11,9.803e-11,1.010e-10, \
          1.041e-10,1.072e-10,1.104e-10,1.137e-10,1.170e-10,1.204e-10, \
          1.239e-10,1.275e-10,1.311e-10,1.348e-10,1.386e-10,1.425e-10, \
          1.464e-10,1.505e-10,1.546e-10,1.588e-10,1.631e-10,1.674e-10, \
          1.719e-10};

#endif